﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Windows.Forms;

namespace Engine.RuleEditor
{
    public partial class FormAttributeTypesEditor : Form
    {
        protected DataGridView DataGridTypes
        {
            get
            {
                return dataGridTypes;
            }
            set
            {
                dataGridTypes = value;
            }
        }

        public FormAttributeTypesEditor()
        {
            InitializeComponent();
        }

        public FormAttributeTypesEditor(string title, Image icon)
        {
            InitializeComponent();
            controlHeader.Title = title;
            controlHeader.Image = icon;
        }

        protected virtual void buttonSave_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.OK;
        }
    }
}
